    <div id="page-content">
    <div id='wrap'>
        <div id="page-heading">
            <ol class="breadcrumb">
                <li><a href="index.php">Dashboad</a></li>
                <li>Data Gejala</li>
            </ol>

            <h1>Data Gejala </h1>
        </div>


        <div class="container">
            <a href="<?php echo site_url('penyakit/tambah_gejala'); ?>" class="btn btn-midnightblue"><i class="icon-plus"></i> Tambah Data</a>
            <br />
            <br />
            <div class="row">
              <div class="col-md-12">
                <div class="panel panel-sky">
                    <div class="panel-heading">
                        <h4>Data Gejala</h4>
                    </div>
                    <div class="panel-body collapse in">
                        <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered datatables" id="example">
                            <thead>
                                <tr>
                                    <th>No</th>
                                    <th>Kode Gejala</th>
                                    <th>Gejala</th>
                                    <th>Aksi</th>
                                </tr>
                            </thead>
                            <tbody>
                             <?php 
                             $i = 0;
                             if ($data != null) 
                                foreach ($data as $dt) {  $i++; ?>
                            <tr>
                                <td><?php echo $i; ?></td>
                                <td><?php echo $dt->kd_gejala; ?></td>
                                <td class="col-md-6"><?php echo $dt->gejala; ?></td>
                                <td class="col-md-2">
                                   <div class="btn-group">
                                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                        Aksi <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu" role="menu">
                                        <li><a href="<?php echo site_url('penyakit/edit_gejala').'/'.$dt->id_gejala; ?>">Edit</a></li>
                                        <li><a href="<?php echo site_url('penyakit/hapus_gejala').'/'.$dt->id_gejala;  ?>" onclick="return confirm('Anda yakin menghapus Gejala ?');">Hapus</a></li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

</div> <!-- container -->
</div> <!--wrap -->
</div> <!-- page-content -->